/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "入院评估表",TableName = "InAssess")]
    public partial class InAssess:BaseEntity
    {
        /// <summary>
       ///入院评估主键
       /// </summary>
       [Key]
       [Display(Name ="入院评估主键")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Id { get; set; }

       /// <summary>
       ///患者编码
       /// </summary>
       [Display(Name ="患者编码")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string PatientCode { get; set; }

       /// <summary>
       ///护士编码
       /// </summary>
       [Display(Name ="护士编码")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string NurseCode { get; set; }

       /// <summary>
       ///入院类型
       /// </summary>
       [Display(Name ="入院类型")]
       [MaxLength(20)]
       [Column(TypeName="varchar(20)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string InType { get; set; }

       /// <summary>
       ///意识状态
       /// </summary>
       [Display(Name ="意识状态")]
       [MaxLength(20)]
       [Column(TypeName="varchar(20)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Sense { get; set; }

       /// <summary>
       ///语言
       /// </summary>
       [Display(Name ="语言")]
       [MaxLength(20)]
       [Column(TypeName="varchar(20)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Language { get; set; }

       /// <summary>
       ///活动能力
       /// </summary>
       [Display(Name ="活动能力")]
       [MaxLength(20)]
       [Column(TypeName="varchar(20)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Activity { get; set; }

       /// <summary>
       ///视力
       /// </summary>
       [Display(Name ="视力")]
       [MaxLength(20)]
       [Column(TypeName="varchar(20)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Vision { get; set; }

       /// <summary>
       ///听力
       /// </summary>
       [Display(Name ="听力")]
       [MaxLength(20)]
       [Column(TypeName="varchar(20)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Hearing { get; set; }

       /// <summary>
       ///最大排泄情况
       /// </summary>
       [Display(Name ="最大排泄情况")]
       [MaxLength(20)]
       [Column(TypeName="varchar(20)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string MaxExcrete { get; set; }

       /// <summary>
       ///最小排泄情况
       /// </summary>
       [Display(Name ="最小排泄情况")]
       [MaxLength(20)]
       [Column(TypeName="varchar(20)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string MinExcrete { get; set; }

       /// <summary>
       ///签名URL
       /// </summary>
       [Display(Name ="签名URL")]
       [MaxLength(500)]
       [Column(TypeName="varchar(500)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string SignUrl { get; set; }

       
    }
}